package com.dkd.easybook.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dkd.easybook.domain.EbAttachmentRelations;

import java.util.List;
/**
 * 附件关系Service接口
 * 
 * @author itheima
 * @date 2024-12-30
 */
public interface IEbAttachmentRelationsService extends IService<EbAttachmentRelations> {
    /**
     * 查询附件关系
     * 
     * @param id 附件关系主键
     * @return 附件关系
     */
    public EbAttachmentRelations selectEbAttachmentRelationsById(Long id);

    /**
     * 查询附件关系列表
     * 
     * @param ebAttachmentRelations 附件关系
     * @return 附件关系集合
     */
    public List<EbAttachmentRelations> selectEbAttachmentRelationsList(EbAttachmentRelations ebAttachmentRelations);

    /**
     * 新增附件关系
     * 
     * @param ebAttachmentRelations 附件关系
     * @return 结果
     */
    public int insertEbAttachmentRelations(EbAttachmentRelations ebAttachmentRelations);

    /**
     * 修改附件关系
     * 
     * @param ebAttachmentRelations 附件关系
     * @return 结果
     */
    public int updateEbAttachmentRelations(EbAttachmentRelations ebAttachmentRelations);

    /**
     * 批量删除附件关系
     * 
     * @param ids 需要删除的附件关系主键集合
     * @return 结果
     */
    public int deleteEbAttachmentRelationsByIds(Long[] ids);

    /**
     * 删除附件关系信息
     * 
     * @param id 附件关系主键
     * @return 结果
     */
    public int deleteEbAttachmentRelationsById(Long id);
}
